package by.grsu.matrenichev.page;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.link.Link;

import by.grsu.matrenichev.page.student.ListStudentPage;
import by.grsu.matrenichev.page.testing.ListTestingPage;
import by.grsu.matrenichev.page.tutor.ListTutorPage;
public class BasePage extends WebPage {
	public BasePage() {
		super();
		
		add(new Link<Void>("home") {

			@Override
			public void onClick() {
				setResponsePage(HomePage.class);

			}
		});
		add(new Link<Void>("studentList") {

			@Override
			public void onClick() {
				setResponsePage(ListStudentPage.class);

			}
		});
		add(new Link<Void>("tutorList") {

			@Override
			public void onClick() {
				setResponsePage(ListTutorPage.class);

			}
		});
		add(new Link<Void>("testingList") {

			@Override
			public void onClick() {
				setResponsePage(ListTestingPage.class);

			}
		});
		
		
	}

}

